package cn.tedu.boot0103.entity;

public class User {
    private String username;
    private String password;
    private String nickname;
/*
USE bbsdb;
CREATE TABLE user(
id INT PRIMARY KEY AUTO_INCREMENT
username VARCHAR(50)
nickname VARCHAR(50)
password VARCHAR(50)

PRIMARY KEY AUTO_INCREMENT
PRIMARY KEY AUTO_INCREMENT
PRIMARY KEY AUTO_INCREMENT
PRIMARY KEY AUTO_INCREMENT
PRIMARY KEY AUTO_INCREMENT
PRIMARY KEY AUTO_INCREMENT
)
 */

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                '}';
    }
}
